package UtranNRMProfile;


/**
 * Generated from IDL interface "AntennaFunction".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class AntennaFunctionPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, UtranNRMProfile.AntennaFunctionOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_set_SAWeightFlag", new java.lang.Integer(0));
		m_opsHash.put ( "_set_MechanicalOffset", new java.lang.Integer(1));
		m_opsHash.put ( "_set_SAFreqBand", new java.lang.Integer(2));
		m_opsHash.put ( "_get_MechanicalOffset", new java.lang.Integer(3));
		m_opsHash.put ( "_get_Bearing", new java.lang.Integer(4));
		m_opsHash.put ( "_set_SASpace", new java.lang.Integer(5));
		m_opsHash.put ( "_get_Longitude", new java.lang.Integer(6));
		m_opsHash.put ( "_set_Bearing", new java.lang.Integer(7));
		m_opsHash.put ( "_get_Latitude", new java.lang.Integer(8));
		m_opsHash.put ( "_set_SATimeStamp", new java.lang.Integer(9));
		m_opsHash.put ( "_get_SAWeightFlag", new java.lang.Integer(10));
		m_opsHash.put ( "_set_SAWeightGroupIndex", new java.lang.Integer(11));
		m_opsHash.put ( "_get_MinTiltValue", new java.lang.Integer(12));
		m_opsHash.put ( "_set_MaxTiltValue", new java.lang.Integer(13));
		m_opsHash.put ( "_get_AntennaType", new java.lang.Integer(14));
		m_opsHash.put ( "_get_SAVendorName", new java.lang.Integer(15));
		m_opsHash.put ( "_get_RetTiltValue", new java.lang.Integer(16));
		m_opsHash.put ( "_set_MaxAzimuthValue", new java.lang.Integer(17));
		m_opsHash.put ( "_get_SABeamDirection", new java.lang.Integer(18));
		m_opsHash.put ( "_get_SASpace", new java.lang.Integer(19));
		m_opsHash.put ( "_set_SAVendorName", new java.lang.Integer(20));
		m_opsHash.put ( "_get_MinAzimuthValue", new java.lang.Integer(21));
		m_opsHash.put ( "_get_HorizBeamwidth", new java.lang.Integer(22));
		m_opsHash.put ( "_get_SAWeightGroupIndex", new java.lang.Integer(23));
		m_opsHash.put ( "_set_SAVersion", new java.lang.Integer(24));
		m_opsHash.put ( "_set_PatternLabel", new java.lang.Integer(25));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(26));
		m_opsHash.put ( "_set_Height", new java.lang.Integer(27));
		m_opsHash.put ( "_set_MinAzimuthValue", new java.lang.Integer(28));
		m_opsHash.put ( "_set_SAWeightList", new java.lang.Integer(29));
		m_opsHash.put ( "_get_SAVersion", new java.lang.Integer(30));
		m_opsHash.put ( "_get_VertBeamwidth", new java.lang.Integer(31));
		m_opsHash.put ( "_get_SANbrElement", new java.lang.Integer(32));
		m_opsHash.put ( "_get_PatternLabel", new java.lang.Integer(33));
		m_opsHash.put ( "_set_UserLabel", new java.lang.Integer(34));
		m_opsHash.put ( "_set_RetTiltValue", new java.lang.Integer(35));
		m_opsHash.put ( "_set_BaseElevation", new java.lang.Integer(36));
		m_opsHash.put ( "_set_Longitude", new java.lang.Integer(37));
		m_opsHash.put ( "_get_SAGain", new java.lang.Integer(38));
		m_opsHash.put ( "_set_SAType", new java.lang.Integer(39));
		m_opsHash.put ( "_get_Height", new java.lang.Integer(40));
		m_opsHash.put ( "_get_BaseElevation", new java.lang.Integer(41));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(42));
		m_opsHash.put ( "_get_SAType", new java.lang.Integer(43));
		m_opsHash.put ( "_set_HorizBeamwidth", new java.lang.Integer(44));
		m_opsHash.put ( "_set_SABeamDirection", new java.lang.Integer(45));
		m_opsHash.put ( "_get_RetGroupName", new java.lang.Integer(46));
		m_opsHash.put ( "_set_MinTiltValue", new java.lang.Integer(47));
		m_opsHash.put ( "_set_AntUtranCellList", new java.lang.Integer(48));
		m_opsHash.put ( "_set_Latitude", new java.lang.Integer(49));
		m_opsHash.put ( "_get_MaxAzimuthValue", new java.lang.Integer(50));
		m_opsHash.put ( "_get_SATimeStamp", new java.lang.Integer(51));
		m_opsHash.put ( "_get_UserLabel", new java.lang.Integer(52));
		m_opsHash.put ( "_set_RetGroupName", new java.lang.Integer(53));
		m_opsHash.put ( "_get_SASWRList", new java.lang.Integer(54));
		m_opsHash.put ( "_get_AntUtranCellList", new java.lang.Integer(55));
		m_opsHash.put ( "_set_SANbrElement", new java.lang.Integer(56));
		m_opsHash.put ( "_set_SASWRList", new java.lang.Integer(57));
		m_opsHash.put ( "_get_AntennaFunctionId", new java.lang.Integer(58));
		m_opsHash.put ( "_set_VertBeamwidth", new java.lang.Integer(59));
		m_opsHash.put ( "_get_MaxTiltValue", new java.lang.Integer(60));
		m_opsHash.put ( "_get_SAWeightList", new java.lang.Integer(61));
		m_opsHash.put ( "_get_SAFreqBand", new java.lang.Integer(62));
	}
	private String[] ids = {"IDL:UtranNRMProfile/AntennaFunction:1.0","IDL:GenericNRMProfile/ManagedFunction:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public UtranNRMProfile.AntennaFunction _this()
	{
		return UtranNRMProfile.AntennaFunctionHelper.narrow(_this_object());
	}
	public UtranNRMProfile.AntennaFunction _this(org.omg.CORBA.ORB orb)
	{
		return UtranNRMProfile.AntennaFunctionHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _set_SAWeightFlag
			{
			_out = handler.createReply();
			SAWeightFlag(UtranNRMSystem.SAWeightFlagtypeHelper.read(_input));
				break;
			}
			case 1: // _set_MechanicalOffset
			{
			_out = handler.createReply();
			MechanicalOffset(_input.read_ulong());
				break;
			}
			case 2: // _set_SAFreqBand
			{
			_out = handler.createReply();
			SAFreqBand(UtranNRMSystem.SAFreqBandtypeHelper.read(_input));
				break;
			}
			case 3: // _get_MechanicalOffset
			{
			_out = handler.createReply();
			_out.write_ulong(MechanicalOffset());
				break;
			}
			case 4: // _get_Bearing
			{
			_out = handler.createReply();
			_out.write_ulong(Bearing());
				break;
			}
			case 5: // _set_SASpace
			{
			_out = handler.createReply();
			SASpace(_input.read_ulong());
				break;
			}
			case 6: // _get_Longitude
			{
			_out = handler.createReply();
			_out.write_float(Longitude());
				break;
			}
			case 7: // _set_Bearing
			{
			_out = handler.createReply();
			Bearing(_input.read_ulong());
				break;
			}
			case 8: // _get_Latitude
			{
			_out = handler.createReply();
			_out.write_float(Latitude());
				break;
			}
			case 9: // _set_SATimeStamp
			{
			_out = handler.createReply();
			SATimeStamp(_input.read_string());
				break;
			}
			case 10: // _get_SAWeightFlag
			{
			_out = handler.createReply();
			UtranNRMSystem.SAWeightFlagtypeHelper.write(_out,SAWeightFlag());
				break;
			}
			case 11: // _set_SAWeightGroupIndex
			{
			_out = handler.createReply();
			SAWeightGroupIndex(_input.read_ulong());
				break;
			}
			case 12: // _get_MinTiltValue
			{
			_out = handler.createReply();
			_out.write_ulong(MinTiltValue());
				break;
			}
			case 13: // _set_MaxTiltValue
			{
			_out = handler.createReply();
			MaxTiltValue(_input.read_ulong());
				break;
			}
			case 14: // _get_AntennaType
			{
			_out = handler.createReply();
			UtranNRMSystem.AntennaTypeHelper.write(_out,AntennaType());
				break;
			}
			case 15: // _get_SAVendorName
			{
			_out = handler.createReply();
			UtranNRMSystem.SAVendorNametypeHelper.write(_out,SAVendorName());
				break;
			}
			case 16: // _get_RetTiltValue
			{
			_out = handler.createReply();
			_out.write_ulong(RetTiltValue());
				break;
			}
			case 17: // _set_MaxAzimuthValue
			{
			_out = handler.createReply();
			MaxAzimuthValue(_input.read_ulong());
				break;
			}
			case 18: // _get_SABeamDirection
			{
			_out = handler.createReply();
			_out.write_ulong(SABeamDirection());
				break;
			}
			case 19: // _get_SASpace
			{
			_out = handler.createReply();
			_out.write_ulong(SASpace());
				break;
			}
			case 20: // _set_SAVendorName
			{
			_out = handler.createReply();
			SAVendorName(UtranNRMSystem.SAVendorNametypeHelper.read(_input));
				break;
			}
			case 21: // _get_MinAzimuthValue
			{
			_out = handler.createReply();
			_out.write_ulong(MinAzimuthValue());
				break;
			}
			case 22: // _get_HorizBeamwidth
			{
			_out = handler.createReply();
			_out.write_ulong(HorizBeamwidth());
				break;
			}
			case 23: // _get_SAWeightGroupIndex
			{
			_out = handler.createReply();
			_out.write_ulong(SAWeightGroupIndex());
				break;
			}
			case 24: // _set_SAVersion
			{
			_out = handler.createReply();
			SAVersion(_input.read_string());
				break;
			}
			case 25: // _set_PatternLabel
			{
			_out = handler.createReply();
			PatternLabel(_input.read_string());
				break;
			}
			case 26: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 27: // _set_Height
			{
			_out = handler.createReply();
			Height(_input.read_ulong());
				break;
			}
			case 28: // _set_MinAzimuthValue
			{
			_out = handler.createReply();
			MinAzimuthValue(_input.read_ulong());
				break;
			}
			case 29: // _set_SAWeightList
			{
			_out = handler.createReply();
			SAWeightList(UtranNRMSystem.SAWeightlisttypeHelper.read(_input));
				break;
			}
			case 30: // _get_SAVersion
			{
			_out = handler.createReply();
			_out.write_string(SAVersion());
				break;
			}
			case 31: // _get_VertBeamwidth
			{
			_out = handler.createReply();
			_out.write_ulong(VertBeamwidth());
				break;
			}
			case 32: // _get_SANbrElement
			{
			_out = handler.createReply();
			_out.write_ulong(SANbrElement());
				break;
			}
			case 33: // _get_PatternLabel
			{
			_out = handler.createReply();
			_out.write_string(PatternLabel());
				break;
			}
			case 34: // _set_UserLabel
			{
			_out = handler.createReply();
			UserLabel(_input.read_string());
				break;
			}
			case 35: // _set_RetTiltValue
			{
			_out = handler.createReply();
			RetTiltValue(_input.read_ulong());
				break;
			}
			case 36: // _set_BaseElevation
			{
			_out = handler.createReply();
			BaseElevation(_input.read_ulong());
				break;
			}
			case 37: // _set_Longitude
			{
			_out = handler.createReply();
			Longitude(_input.read_float());
				break;
			}
			case 38: // _get_SAGain
			{
			_out = handler.createReply();
			_out.write_ulong(SAGain());
				break;
			}
			case 39: // _set_SAType
			{
			_out = handler.createReply();
			SAType(UtranNRMSystem.SmartATypeHelper.read(_input));
				break;
			}
			case 40: // _get_Height
			{
			_out = handler.createReply();
			_out.write_ulong(Height());
				break;
			}
			case 41: // _get_BaseElevation
			{
			_out = handler.createReply();
			_out.write_ulong(BaseElevation());
				break;
			}
			case 42: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 43: // _get_SAType
			{
			_out = handler.createReply();
			UtranNRMSystem.SmartATypeHelper.write(_out,SAType());
				break;
			}
			case 44: // _set_HorizBeamwidth
			{
			_out = handler.createReply();
			HorizBeamwidth(_input.read_ulong());
				break;
			}
			case 45: // _set_SABeamDirection
			{
			_out = handler.createReply();
			SABeamDirection(_input.read_ulong());
				break;
			}
			case 46: // _get_RetGroupName
			{
			_out = handler.createReply();
			_out.write_string(RetGroupName());
				break;
			}
			case 47: // _set_MinTiltValue
			{
			_out = handler.createReply();
			MinTiltValue(_input.read_ulong());
				break;
			}
			case 48: // _set_AntUtranCellList
			{
			_out = handler.createReply();
			AntUtranCellList(_input.read_string());
				break;
			}
			case 49: // _set_Latitude
			{
			_out = handler.createReply();
			Latitude(_input.read_float());
				break;
			}
			case 50: // _get_MaxAzimuthValue
			{
			_out = handler.createReply();
			_out.write_ulong(MaxAzimuthValue());
				break;
			}
			case 51: // _get_SATimeStamp
			{
			_out = handler.createReply();
			_out.write_string(SATimeStamp());
				break;
			}
			case 52: // _get_UserLabel
			{
			_out = handler.createReply();
			_out.write_string(UserLabel());
				break;
			}
			case 53: // _set_RetGroupName
			{
			_out = handler.createReply();
			RetGroupName(_input.read_string());
				break;
			}
			case 54: // _get_SASWRList
			{
			_out = handler.createReply();
			UtranNRMSystem.SASWRListtypeHelper.write(_out,SASWRList());
				break;
			}
			case 55: // _get_AntUtranCellList
			{
			_out = handler.createReply();
			_out.write_string(AntUtranCellList());
				break;
			}
			case 56: // _set_SANbrElement
			{
			_out = handler.createReply();
			SANbrElement(_input.read_ulong());
				break;
			}
			case 57: // _set_SASWRList
			{
			_out = handler.createReply();
			SASWRList(UtranNRMSystem.SASWRListtypeHelper.read(_input));
				break;
			}
			case 58: // _get_AntennaFunctionId
			{
			_out = handler.createReply();
			_out.write_string(AntennaFunctionId());
				break;
			}
			case 59: // _set_VertBeamwidth
			{
			_out = handler.createReply();
			VertBeamwidth(_input.read_ulong());
				break;
			}
			case 60: // _get_MaxTiltValue
			{
			_out = handler.createReply();
			_out.write_ulong(MaxTiltValue());
				break;
			}
			case 61: // _get_SAWeightList
			{
			_out = handler.createReply();
			UtranNRMSystem.SAWeightlisttypeHelper.write(_out,SAWeightList());
				break;
			}
			case 62: // _get_SAFreqBand
			{
			_out = handler.createReply();
			UtranNRMSystem.SAFreqBandtypeHelper.write(_out,SAFreqBand());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
